/**
 * 
 */
package santeclair.webext.webservice;

import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import santeclair.webext.dto.jeton.ProfessionnelSsoDto;
import santeclair.webext.dto.jeton.RetourCreationJetonSso;

/**
 * @author cquintin
 * 
 */
@Path("/jetonSSO/jeton")
public interface GestionJetonSSOWebService {

    /**
     * Creation du jeton
     * 
     * @param dto
     * @return String identifiant du jeton
     */
    @PUT
    @Path("/creation")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public RetourCreationJetonSso creationJeton(ProfessionnelSsoDto dto);

}
